-
Notifications
You must be signed in to change notification settings - Fork 44
Import Atmel SAML21, SAMR34 and SAMR35 header files from ASF library #17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@stephanosio / @nandojve / @mnkp - any chance we can look at getting this merged? |
|
@stephanosio / @nandojve / @mnkp - Hi all, what's the typical process here? Does zephyrproject-rtos/zephyr#41308 need to be approved before this will be considered, or can we get this merged and on the way? |
|
Hi @attie-argentum , The hal code is merged when people is reviewing 41308. Someone need check why scancode is not happy. Did you look at it? |
|
Hi @nandojve , Understood, thanks very much. Re scancode: This appears to be a license issue - other existing files will likely fail this check too (e.g: samd21/component-version.h is also |
stephanosio
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR, in itself, looks ok.
Re scancode: This appears to be a license issue - other existing files will likely fail this check too (e.g: samd21/component-version.h is also apache-2.0)... I'm not comfortable forcibly relicensing these files to bsd-x11 just to get the check to pass, and this doesn't appear to have been done in the past...
The failure does not have to do with the apache-2.0 licensed ones, but rather with the ones that supposedly have "non-permissive" licenses:
...
* scan/asf/sam0/include/saml21/saml21g17b.h has non-permissive license: nokos-1.0a
...
* scan/asf/sam0/include/saml21/component/ac.h has non-permissive license: elastic-license-2018
...
Since it looks like those are mis-detections and all files are licensed Apache 2.0, the scancode failure can be ignored.
Ah, understood - thanks! |
3db361d to
a77f646
Compare
|
Rebase |
|
Hi @attie-argentum , Please, rebase your code and: 1- check this commit 45cb8f8 and make sure you version not suffer same problem |
|
Thanks @nandojve - I'm hoping to work on this soon, and I'll check your points. Very well done with zephyrproject-rtos/zephyr#43731 - I'm planning to follow suit with both this and zephyrproject-rtos/zephyr#41308. |
Atmel Software Framework (ASF) provides a set of low-level header files that give access to different hardware peripherals of Atmel's ICs. Origin: Atmel SAML21 Series Device Support (1.2.125) License: Apache-2.0 URL: http://packs.download.atmel.com/Atmel.SAML21_DFP.1.2.125.atpack Purpose: Introduction of ASF for the SAM0 series. Maintained-by: External Signed-off-by: Attie Grande <[email protected]>
Atmel Software Framework (ASF) provides a set of low-level header files that give access to different hardware peripherals of Atmel's ICs. Origin: Atmel SAMR34 Series Device Support (1.0.11) License: Apache-2.0 URL: http://packs.download.atmel.com/Atmel.SAMR34_DFP.1.0.11.atpack Purpose: Introduction of ASF for the SAM0 series. Maintained-by: External Signed-off-by: Attie Grande <[email protected]>
Atmel Software Framework (ASF) provides a set of low-level header files that give access to different hardware peripherals of Atmel's ICs. Origin: Atmel SAMR35 Series Device Support (1.0.10) License: Apache-2.0 URL: http://packs.download.atmel.com/Atmel.SAMR35_DFP.1.0.10.atpack Purpose: Introduction of ASF for the SAM0 series. Maintained-by: External Signed-off-by: Attie Grande <[email protected]>
|
Points 1 & 2 are already resolved... looking in to 3 now. |
07990c8 to
3fecc85
Compare
|
@nandojve / @stephanosio - I believe this PR is ready for review again, now that the pinctrl stuff is in place. |
nandojve
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @attie-argentum,
Please, drop revisions to keep pinconfig generic.
|
@nandojve thanks - done |
nandojve
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @attie-argentum ,
I forget to mention but since the yml file is generic, the revision should not be part of file name. Please, drop revision from both *.yml file names.
I'm ready to approve as soon you send update.
Add Atmel SAM0 L21 family of pinconfigs definitions and auto generated files to be used in pinctrl devicetree files. Signed-off-by: Attie Grande <[email protected]>
Add Atmel SAM0 R34/R35 family of pinconfigs definitions and auto generated files to be used in pinctrl devicetree files. Signed-off-by: Attie Grande <[email protected]>
|
Ah yes, my apologies! Done. |
nandojve
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @attie-argentum !
stephanosio
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks reasonable to me.
Zephyr support for these parts is following, but depends on this PR.
This PR supersedes #11, which can likely be closed now.